Api.EnableAutoRepair method

Allows auto-repair to be enabled. If any slave disappears (due to the replacement of a servo drive, cable disconnection, power cut or other issues) or goes to an EtherCAT error state, it restarts automatically. Slaves that are not in an error state are not impacted and continue to function properly.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsError EnableAutoRepair(
       bool Active
)
Public Function EnableAutoRepair(
       Active As Boolean
) As KsError

Parameters

Active

Type: bool

true to enable, and false to disable auto-repair. By default, it is true.

Return value

Type: KsError

A return code of a method.

Remarks

Usable EtherCAT states

ecatOffline

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.Local.Api Namespace